import {get} from './../config/http';

export const homeGuess = async () => {
  const res = await get({
    url: '/mock/13/guess',
  });
  return res;
};
export const homeCarousels = async () => {
  const res = await get({
    url: '/mock/13/carousel',
  });
  return res;
};
interface HomeChannelParams {
  page: number;
}
export const homeChannel = async (params?: HomeChannelParams) => {
  const res = await get({
    url: '/mock/13/channel',
    params,
  });
  return res;
};
